package com.haohan.stock.dao;

import java.util.List;

import com.haohan.stock.domain.BaseArea;
import com.haohan.stock.vo.MysqlPage;

public interface BaseAreaMapper {

	void insert(BaseArea baseArea) throws Exception;// 保存数据

	void update(BaseArea baseArea) throws Exception;// 更新数据

	void delete(BaseArea baseArea) throws Exception;// 更新数据

	BaseArea selectOne(BaseArea baseArea) throws Exception;// 获取单个数据

	Long selectCount(MysqlPage<BaseArea> mysqlPage) throws Exception;// 查询分页集合数量

	List<BaseArea> selectPage(MysqlPage<BaseArea> mysqlPage) throws Exception;// 查询分页数据

	List<BaseArea> selectList(BaseArea baseArea) throws Exception;// 查询集合数据

	List<BaseArea> selectManageList();
	
	//通过小区名称查询区域对象
	List<BaseArea> selectSmallAreaByName(BaseArea baseArea);
	
	//通过大区名称查询区域对象
	List<BaseArea> selectBigAreaByName(BaseArea baseArea);

}
